﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Activity" targetNamespace="http://www.ToolKitVB.com/Activity.xsd" xmlns:mstns="http://www.ToolKitVB.com/Activity.xsd" xmlns="http://www.ToolKitVB.com/Activity.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Activity" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="Activity" msprop:Generator_UserDSName="Activity" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Sessions" msprop:Generator_UserTableName="Sessions" msprop:Generator_RowDeletedName="SessionsRowDeleted" msprop:Generator_TableClassName="SessionsDataTable" msprop:Generator_RowChangedName="SessionsRowChanged" msprop:Generator_RowClassName="SessionsRow" msprop:Generator_RowChangingName="SessionsRowChanging" msprop:Generator_RowEvArgName="SessionsRowChangeEvent" msprop:Generator_RowEvHandlerName="SessionsRowChangeEventHandler" msprop:Generator_TablePropName="Sessions" msprop:Generator_TableVarName="tableSessions" msprop:Generator_RowDeletingName="SessionsRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SessionID" msprop:Generator_UserColumnName="SessionID" msprop:Generator_ColumnPropNameInRow="SessionID" msprop:Generator_ColumnVarNameInTable="columnSessionID" msprop:Generator_ColumnPropNameInTable="SessionIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Location" msprop:Generator_UserTableName="Location" msprop:Generator_RowDeletedName="LocationRowDeleted" msprop:Generator_TableClassName="LocationDataTable" msprop:Generator_RowChangedName="LocationRowChanged" msprop:Generator_RowClassName="LocationRow" msprop:Generator_RowChangingName="LocationRowChanging" msprop:Generator_RowEvArgName="LocationRowChangeEvent" msprop:Generator_RowEvHandlerName="LocationRowChangeEventHandler" msprop:Generator_TablePropName="Location" msprop:Generator_TableVarName="tableLocation" msprop:Generator_RowDeletingName="LocationRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LocationID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="LocationID" msprop:Generator_ColumnPropNameInRow="LocationID" msprop:Generator_ColumnVarNameInTable="columnLocationID" msprop:Generator_ColumnPropNameInTable="LocationIDColumn" type="xs:int" />
              <xs:element name="URL" msprop:Generator_UserColumnName="URL" msprop:Generator_ColumnPropNameInRow="URL" msprop:Generator_ColumnVarNameInTable="columnURL" msprop:Generator_ColumnPropNameInTable="URLColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SessionID" msprop:Generator_UserColumnName="SessionID" msprop:Generator_ColumnPropNameInRow="SessionID" msprop:Generator_ColumnVarNameInTable="columnSessionID" msprop:Generator_ColumnPropNameInTable="SessionIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Messages" msprop:Generator_UserTableName="Messages" msprop:Generator_RowDeletedName="MessagesRowDeleted" msprop:Generator_TableClassName="MessagesDataTable" msprop:Generator_RowChangedName="MessagesRowChanged" msprop:Generator_RowClassName="MessagesRow" msprop:Generator_RowChangingName="MessagesRowChanging" msprop:Generator_RowEvArgName="MessagesRowChangeEvent" msprop:Generator_RowEvHandlerName="MessagesRowChangeEventHandler" msprop:Generator_TablePropName="Messages" msprop:Generator_TableVarName="tableMessages" msprop:Generator_RowDeletingName="MessagesRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MessageID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="MessageID" msprop:Generator_ColumnPropNameInRow="MessageID" msprop:Generator_ColumnVarNameInTable="columnMessageID" msprop:Generator_ColumnPropNameInTable="MessageIDColumn" type="xs:int" />
              <xs:element name="Message" msprop:Generator_UserColumnName="Message" msprop:Generator_ColumnPropNameInRow="Message" msprop:Generator_ColumnVarNameInTable="columnMessage" msprop:Generator_ColumnPropNameInTable="MessageColumn" type="xs:string" minOccurs="0" />
              <xs:element name="FromSessionID" msprop:Generator_UserColumnName="FromSessionID" msprop:Generator_ColumnPropNameInRow="fromSessionID" msprop:Generator_ColumnVarNameInTable="columnfromSessionID" msprop:Generator_ColumnPropNameInTable="fromSessionIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ToSessionID" msprop:Generator_UserColumnName="ToSessionID" msprop:Generator_ColumnPropNameInRow="ToSessionID" msprop:Generator_ColumnVarNameInTable="columnToSessionID" msprop:Generator_ColumnPropNameInTable="ToSessionIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Variables" msprop:Generator_UserTableName="Variables" msprop:Generator_RowDeletedName="VariablesRowDeleted" msprop:Generator_TableClassName="VariablesDataTable" msprop:Generator_RowChangedName="VariablesRowChanged" msprop:Generator_RowClassName="VariablesRow" msprop:Generator_RowChangingName="VariablesRowChanging" msprop:Generator_RowEvArgName="VariablesRowChangeEvent" msprop:Generator_RowEvHandlerName="VariablesRowChangeEventHandler" msprop:Generator_TablePropName="Variables" msprop:Generator_TableVarName="tableVariables" msprop:Generator_RowDeletingName="VariablesRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VariableID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="VariableID" msprop:Generator_ColumnPropNameInRow="VariableID" msprop:Generator_ColumnVarNameInTable="columnVariableID" msprop:Generator_ColumnPropNameInTable="VariableIDColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="Value" msdata:DataType="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInTable="ValueColumn" type="xs:anyType" minOccurs="0" />
              <xs:element name="SessionID" msprop:Generator_UserColumnName="SessionID" msprop:Generator_ColumnPropNameInRow="SessionID" msprop:Generator_ColumnVarNameInTable="columnSessionID" msprop:Generator_ColumnPropNameInTable="SessionIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1">
      <xs:selector xpath=".//mstns:Sessions" />
      <xs:field xpath="mstns:SessionID" />
    </xs:unique>
    <xs:unique name="Location_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Location" />
      <xs:field xpath="mstns:LocationID" />
    </xs:unique>
    <xs:unique name="Messages_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Messages" />
      <xs:field xpath="mstns:MessageID" />
    </xs:unique>
    <xs:unique name="Variables_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Variables" />
      <xs:field xpath="mstns:VariableID" />
    </xs:unique>
    <xs:keyref name="FK_Sessions_Variables" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Sessions_Variables" msprop:rel_Generator_RelationVarName="relationFK_Sessions_Variables" msprop:rel_Generator_UserChildTable="Variables" msprop:rel_Generator_UserParentTable="Sessions" msprop:rel_Generator_ParentPropName="SessionsRow" msprop:rel_Generator_ChildPropName="GetVariablesRows">
      <xs:selector xpath=".//mstns:Variables" />
      <xs:field xpath="mstns:SessionID" />
    </xs:keyref>
    <xs:keyref name="FK_Sessions_MessagesTo" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Sessions_MessagesTo" msprop:rel_Generator_RelationVarName="relationFK_Sessions_MessagesTo" msprop:rel_Generator_UserChildTable="Messages" msprop:rel_Generator_UserParentTable="Sessions" msprop:rel_Generator_ParentPropName="SessionsRowByFK_Sessions_MessagesTo" msprop:rel_Generator_ChildPropName="GetMessagesRowsByFK_Sessions_MessagesTo">
      <xs:selector xpath=".//mstns:Messages" />
      <xs:field xpath="mstns:ToSessionID" />
    </xs:keyref>
    <xs:keyref name="Sessions_MessagesFrom" refer="Constraint1" msprop:rel_Generator_UserRelationName="Sessions_MessagesFrom" msprop:rel_Generator_RelationVarName="relationSessions_MessagesFrom" msprop:rel_Generator_UserChildTable="Messages" msprop:rel_Generator_UserParentTable="Sessions" msprop:rel_Generator_ParentPropName="SessionsRowBySessions_MessagesFrom" msprop:rel_Generator_ChildPropName="GetMessagesRowsBySessions_MessagesFrom">
      <xs:selector xpath=".//mstns:Messages" />
      <xs:field xpath="mstns:FromSessionID" />
    </xs:keyref>
    <xs:keyref name="FK_Sessions_Location" refer="Constraint1" msprop:rel_Generator_UserRelationName="FK_Sessions_Location" msprop:rel_Generator_RelationVarName="relationFK_Sessions_Location" msprop:rel_Generator_UserChildTable="Location" msprop:rel_Generator_UserParentTable="Sessions" msprop:rel_Generator_ParentPropName="SessionsRow" msprop:rel_Generator_ChildPropName="GetLocationRows">
      <xs:selector xpath=".//mstns:Location" />
      <xs:field xpath="mstns:SessionID" />
    </xs:keyref>
  </xs:element>
</xs:schema>